home *** CD-ROM | disk | FTP | other *** search
- 10 ' *** Randomise the Windows wallpaper on each boot-up ***
- 20 ' Windows must be set up to use a wallpaper file called TODAY.BMP
- 30 ' Edit the final few lines of this file to incoporate the names
- 40 ' of graphics files that you want to become wallpaper
- 50 RANDOMIZE TIMER
- 60 I = 1: READ I$(I)
- 70 WHILE I$(I) <> "nomore"
- 80 I = I + 1
- 90 READ I$(I)
- 100 WEND
- 110 IF I = 1 THEN PRINT "No data to read": SYSTEM
- 120 R = 1 + INT(RND * (I - 1))
- 130 ' if your bitmap files aren't in \WINDOWS, change the first part of the
- 140 ' next line |<----->| to name the correct directory
- 150 COPY$ = "copy \windows\" + I$(R) + " \windows\today.bmp"
- 160 PRINT COPY$
- 170 SHELL COPY$
- 180 SYSTEM
- 190 ' Change the next lines to the names of your own files
- 200 ' Have as many DATA items/lines as you like but the final
- 210 ' item MUST be 'nomore' (lower case) to mark the end of
- 220 ' the list. Don't forget the comma between items on the
- 230 ' same line.
- 240 DATA ARCADE.BMP,ARGYLE.BMP,CASTLE.BMP,EGYPT.BMP,HONEY.BMP
- 250 DATA REDBRICK.BMP,RIVETS.BMP,SQUARES.BMP,ZIGZAG.BMP
- 260 DATA nomore
-